package com.privatework.common.service.classroom;


import com.privatework.common.ConditionService;
import com.privatework.common.entity.classroom.ClassRoom;
import com.privatework.common.entity.leave.LeaveInfo;
import com.privatework.common.requestvo.classroom.ClassRoomReqVo;
import com.privatework.common.requestvo.leave.LeaveInfoReqVo;
import com.privatework.common.vo.classroom.ClassRoomHistoryResultVo;
import com.privatework.common.vo.classroom.ClassRoomResultVo;
import com.privatework.common.vo.leave.LeaveInfoResultVo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * 用户Service
 *
 * @author johnny
 * @create 2020-07-13 下午4:56
 **/
public interface ClassRoomService extends ConditionService<ClassRoom> {


    Page<ClassRoomResultVo> listByCondition(ClassRoomReqVo classRoomReqVo, Pageable pageVo);


    void submitClassRoomUseInfo(ClassRoomReqVo classRoomReqVo);

    Page<ClassRoomHistoryResultVo> listHistoryByCondition(ClassRoomReqVo classRoomReqVo,Pageable initPage);

}